function s = fsk(data,symbolRate,carrierFreq,sampleFreq,M)

s = fskmod(data,M,carrierFreq,sampleFreq/symbolRate,sampleFreq,'discont');